package com.itheima.controller;

import com.itheima.entity.Result;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

/**
 * @Author: Felix(李鑫)
 * @Date: 2020/9/1 21:16
 * @Description:  索引维护接口
 */

@RestController
@RequestMapping("/search")
public class SearchIndexController {

    @RequestMapping(value = "/initElasticIndex",name = "初始化solr索引")
    public Result initElasticIndex(){

        //todo: 调用初始化索引方法
        return new Result();
    }


}
